﻿using System;
namespace ChinaSoft.Model
{
	/// <summary>
	/// 任务书
	/// </summary>
	[Serializable]
	public partial class Model_tb_MidSoft_TaskBook
	{
		public Model_tb_MidSoft_TaskBook()
		{}
		#region Model
		private int _taskbookid;
		private string _mainnumber;
		private string _subnumber;
		private int _projectid;
		private int _pmflowid;
		private DateTime _issuetime= DateTime.Now;
		private string _projecttype= "0";
		private int _according;
		private int _underdepartmentid;
		private decimal _contractmoney;
		private string _stage;
		private int _jingbanid;
		private int _makedevelopid;
		private int _engineerid;
		private int _subdeanid;
		private DateTime? _endtime;
		private string _endtimedescription;
		private string _description;
		private DateTime _createtime= DateTime.Now;
		private int _createuserid;
		/// <summary>
		/// 任务书Id
		/// </summary>
		public int TaskBookId
		{
			set{ _taskbookid=value;}
			get{return _taskbookid;}
		}
		/// <summary>
		/// 主编号（综合字）
		/// </summary>
		public string MainNumber
		{
			set{ _mainnumber=value;}
			get{return _mainnumber;}
		}
		/// <summary>
		/// 子编号(第N号)
		/// </summary>
		public string SubNumber
		{
			set{ _subnumber=value;}
			get{return _subnumber;}
		}
		/// <summary>
		/// 项目ID
		/// </summary>
		public int ProjectId
		{
			set{ _projectid=value;}
			get{return _projectid;}
		}
		/// <summary>
		/// 流程ID
		/// </summary>
		public int PmFlowId
		{
			set{ _pmflowid=value;}
			get{return _pmflowid;}
		}
		/// <summary>
		/// 签发时间
		/// </summary>
		public DateTime IssueTime
		{
			set{ _issuetime=value;}
			get{return _issuetime;}
		}
		/// <summary>
		/// 项目类别(0:A 1:B)
		/// </summary>
		public string ProjectType
		{
			set{ _projecttype=value;}
			get{return _projecttype;}
		}
		/// <summary>
		/// 依据
		/// </summary>
		public int According
		{
			set{ _according=value;}
			get{return _according;}
		}
		/// <summary>
		/// 承接部门ID
		/// </summary>
		public int UnderDepartMentId
		{
			set{ _underdepartmentid=value;}
			get{return _underdepartmentid;}
		}
		/// <summary>
		/// 合同金额
		/// </summary>
		public decimal ContractMoney
		{
			set{ _contractmoney=value;}
			get{return _contractmoney;}
		}
		/// <summary>
		/// 设计阶段
		/// </summary>
		public string Stage
		{
			set{ _stage=value;}
			get{return _stage;}
		}
		/// <summary>
		/// 经办人Id
		/// </summary>
		public int JingBanId
		{
			set{ _jingbanid=value;}
			get{return _jingbanid;}
		}
		/// <summary>
		/// 生产发展部Id
		/// </summary>
		public int MakeDevelopId
		{
			set{ _makedevelopid=value;}
			get{return _makedevelopid;}
		}
		/// <summary>
		/// 总工程师室Id
		/// </summary>
		public int EngineerId
		{
			set{ _engineerid=value;}
			get{return _engineerid;}
		}
		/// <summary>
		/// 分管院长Id
		/// </summary>
		public int SubDeanId
		{
			set{ _subdeanid=value;}
			get{return _subdeanid;}
		}
		/// <summary>
		/// 结束时间
		/// </summary>
		public DateTime? EndTime
		{
			set{ _endtime=value;}
			get{return _endtime;}
		}
		/// <summary>
		/// 结束时间的描述
		/// </summary>
		public string EndTimeDescription
		{
			set{ _endtimedescription=value;}
			get{return _endtimedescription;}
		}
		/// <summary>
		/// 描述
		/// </summary>
		public string Description
		{
			set{ _description=value;}
			get{return _description;}
		}
		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime CreateTime
		{
			set{ _createtime=value;}
			get{return _createtime;}
		}
		/// <summary>
		/// 创建人Id
		/// </summary>
		public int CreateUserId
		{
			set{ _createuserid=value;}
			get{return _createuserid;}
		}
		#endregion Model

	}
}

